package com.society.sgsc.dict.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.society.sgsc.entities.DictItem;

import java.util.List;

public interface DictItemService extends IService<DictItem> {

    //添加字典数据
    int saveDictItem(DictItem dictItem)throws Exception;

    //根据字典类型查询对应的字典信息
    List<DictItem> getDictItemsByDictType(String dictType) throws Exception;
}
